package com.firewolf.springboot;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class ManagerService{
	
	@Autowired
	private ManagerDao dao;
	
	@TargetDataSource("ds2")
	public void saveManagers(List<Manager> mList){
		dao.save(mList);
	}
}
